﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace WpfCanvas.Contour
{
    public class VPoint
    {
        public int X { get; set; }

        public int Y { get; set; }

        public double Value { get; set; }

        public override bool Equals(object obj)
        {
            if (obj is VPoint)
            {
                var tmp = obj as VPoint;
                return this.X == tmp.X && this.Y == tmp.Y;
            }

            return false;
        }

        public override int GetHashCode()
        {
            return base.GetHashCode();
        }
    }
}
